package io.renren.modules.noc.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.noc.entity.NocMemberEntity;
import io.renren.modules.noc.entity.NocTemplateEntity;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author whc
 * @email hucheng_86@126.com
 * @date 2019-04-03 22:37:46
 */
public interface NocMemberService extends IService<NocMemberEntity> {

    PageUtils queryPage(Map<String, Object> params);

    public List<Map<String,Object>> memberCount(Map<String,Object> map);

    public String getNextErCode(String pre);

    public void sendMsg(Integer templateId, NocMemberEntity nocMemberEntity, NocTemplateEntity template, String url);

    public void sendErcodeMsg(List<NocMemberEntity> list,String url);

    public  List<NocMemberEntity> getRepay(Page<Map<String,Object>> page, Map<String, Object> params);

    public  Map<String,Object> getMemberId(Map<String,Object> map);

    public void sendMemberMsg(Integer memberId);

    public void sendMatchMsg(Integer memberId);

    public void updateSign(Map<String,Object> map);

    public Integer selectCount(Map<String,Object> map);

    public List<NocMemberEntity> getErcodeByOpenId(Map<String,Object> map);

    public Integer getMemberId(String barCode);

    public void sendDaMemberMsg(Integer memberId);

    public Map<String,Object> getMemberByErCode(String ercode);

    public Map<String,Integer> getMemberTid(String barCode);

}

